import request from '@/utils/request'

// 取水设备状态信息-列表
const waterIntakeStateList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterIntState/getWaterIntakeStateList`,
    method: 'post',
    data: params,
  })
}

// 取水设备状态信息-设备故障申报-新增
const addWaterIntakeState = function (params = {}) {
  return request({
    url: `/zy-api/api/waterIntState/addWaterIntakeState`,
    method: 'post',
    data: params,
  })
}

// 取水设备状态信息-异常记录-上方数据
const waterIntakeStateDetails = function (params = {}) {
  return request({
    url: `/zy-api/api/waterIntState/getWaterIntakeStateId`,
    method: 'post',
    data: params,
  })
}

// 取水设备状态信息-异常记录-下方数据
const waterIntakeStateRecordList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterIntState/getWaterIntakeStateXia`,
    method: 'post',
    data: params,
  })
}

export {
  waterIntakeStateList,
  addWaterIntakeState,
  waterIntakeStateDetails,
  waterIntakeStateRecordList
}